#!/bin/bash
SERVER=localhost
PORT_RMI=83
PORT_STUB=84
sudo java -cp ./bin/compute.jar:./bin/server.jar \
	-Djava.rmi.server.hostname=$SERVER \
	-Djava.rmi.server.codebase=http://$SERVER/rmi_calc_pi/classes/ \
	-Djava.security.policy=server.policy \
	engine.ComputeEngine $PORT_RMI $PORT_STUB
